package com.toutoushidao.ssm.entity;


/**
 * 用户码表
 * @author laodun
 *
 */
public class UserCode {
    private Long userId;
    private String code;
    private Integer type;
    private Integer invalid;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getInvalid() {
        return invalid;
    }

    public void setInvalid(Integer invalid) {
        this.invalid = invalid;
    }

    @Override
    public String toString() {
        return "UserCode{" +
                "userId=" + userId +
                ", code='" + code + '\'' +
                ", type=" + type +
                ", invalid=" + invalid +
                '}';
    }
}
